package com.yyets.httpclient;

import android.util.Log;

import com.loopj.android.http.AsyncHttpResponseHandler;

public class ResourceService {

	private static final String TAG = SearchService.class.getSimpleName();

	private static final String SEARCH_URL = "/resource/";

	public static void getResource(String resource_id) {

		yyetsClient.get(SEARCH_URL + resource_id, null,
				new AsyncHttpResponseHandler() {
					@Override
					public void onSuccess(String respone) {
						try {
							Log.i(TAG, respone);
						} catch (Exception e) {
							e.printStackTrace();
						}
					}
				});
	}
}
